<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
	</head>
	<body>
		<div id="d1">
			{
    "status": 0,
    "message": "query ok",
    "count": 713,
    "request_id": "0360051012550096ca41f6ada0ff2bca7d23e91d9b3a",
    "data": [
    {
    "id": "16513746038905577791",
    "title": "成都美食",
    "address": "北京市通州区周易北街与诚志路交叉口东侧",
    "tel": "13621049428",
    "category": "美食:中餐厅:川菜",
    "type": 0,
    "location": {
    "lat": 39.73346,
    "lng": 116.57583
    },
    "ad_info": {
    "adcode": 110112,
    "province": "北京市",
    "city": "北京市",
    "district": "通州区"
    }
    },
    {
    "id": "15447094346591986904",
    "title": "成都美食(劲松店)",
    "address": "北京市朝阳区劲松七区725号",
    "tel": "18910271389",
    "category": "美食:中餐厅:川菜",
    "type": 0,
    "location": {
    "lat": 39.87929,
    "lng": 116.44709
    },
    "ad_info": {
    "adcode": 110105,
    "province": "北京市",
    "city": "北京市",
    "district": "朝阳区"
    }
    },
    {
    "id": "13367649589825949579",
    "title": "成都美食",
    "address": "北京市东城区崇文门西大街4-5号",
    "tel": "010-53357526",
    "category": "美食:中餐厅:川菜",
    "type": 0,
    "location": {
    "lat": 39.90062,
    "lng": 116.41617
    },
    "ad_info": {
    "adcode": 110101,
    "province": "北京市",
    "city": "北京市",
    "district": "东城区"
    }
</div>
		<script>
			var s = d1.innerHTML;
			var firstStr = '"district": "';
			var firstindex = s.indexOf(firstStr);
			firstindex = firstindex + firstStr.length;
			var endIndex = s.indexOf('"',firstindex);
			alert(s.substring(firstindex,endIndex));
		</script>
	</body>
</html>
